home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Communication / NewsBase / Source / IDatumD.m < prev    next >
Text File  |  1993-01-12  |  341b  |  29 lines

  1. #import "IDatumD.h"
  2. #import <objc/hashtable.h>
  3.  
  4. @implementation IDatumD
  5.  
  6. - initWithKey:(const char *)aKey andData:aDatum
  7. {
  8.     key = NXCopyStringBufferFromZone(aKey, [self zone]);
  9.     data = aDatum;
  10.     return self;
  11. }
  12.  
  13. - (const char *)key
  14. {
  15.     return key;
  16. }
  17.  
  18. - (void)setData:aDatum
  19. {
  20.     data = aDatum;
  21. }
  22.  
  23. - data
  24. {
  25.     return data;
  26. }
  27.  
  28. @end
  29.